package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.content.model.vo.AuditVo;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * @author 黄子弟
 * @Date 2021/12/11
 */

@Api(value = "课程审核api" ,tags = "课程审核api接口信息")
public interface AuditControllerApi {
    @ApiOperation("获取待审核列表")
    @ApiImplicitParams(value = {@ApiImplicitParam(name = "params",value = "分页数据信息",required = true,dataType = "PageRequestParams",paramType = "query"),
            @ApiImplicitParam(name = "model",value = "查询条件信息",required = true,dataType = "QueryCourseModel",paramType = "body")
    })
    PageVO<CourseBaseDTO> queryAuditList(PageRequestParams params, QueryCourseModel model);


    @ApiOperation("运营平台审核课程")
    @ApiImplicitParam(name = "auditVo",value = "课程审核信息",required = true,dataType = "AuditVo",paramType = "body")
    void modifyAuditStatus(AuditVo auditVo);

}
